import ADDataIndex from '@/components/view/addata/ADDataIndex.vue'
import ADDataList from '@/components/view/addata/ADDataList.vue'


export default {
  path: '/:username/ADData',
  name: 'ADData',
  component: ADDataIndex,
  // 重定向到渠道列表
  redirect: { name: 'ADDataList' },
  children: [
    {
      // 渠道列表
      path: 'List',
      name: 'ADDataList',
      components: {
        default: ADDataList
      }
    }
  ],
  beforeEnter: (to, from, next) => {
    next();
  }
}
